<template>


  <div id="login">
    <div class="login_names">
      <p>红豆园区</p>
      <p>综合能源服务系统</p>
    </div>
   
      <van-cell-group>
        <van-field
          v-model="username"
          label="用户名"
          placeholder="请输入用户名"
          error
        />
        <van-field
          v-model="phone"
          label="手机号"
          placeholder="请输入手机号"
          error-message="手机号格式错误"
        />
    </van-cell-group>
  </div>
</template>

<script>

export default {
  name: 'Login',
  data(){
    return {
      phone: '',
      username:''
      }
  },
  methods: {
    increment () {
      this.count++
    }
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style  lang='less'  scoped>
h3 {
  margin: 40px 0 0;
}
ul {
  list-style-type: none;
  padding: 0;
}
li {
  display: inline-block;
  margin: 0 10px;
}
a {
  color: #42b983;
}

#login{
  .login_names{
     
  }
}
</style>
